/* =========================
   RESET BÁSICO
========================= */
*{
  margin:0;
  padding:0;
  box-sizing:border-box;
}

body{
  font-family:Arial, sans-serif;
  background:#f4f8ff;
  color:#0a2540;
  line-height:1.6;
}


.header {
  width: 100%;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 999;
  box-shadow: 0 4px 20px rgba(0,0,0,0.03);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 5%;
}

.logo {
  height: 60px;
  width: auto;
}

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav a {
  text-decoration: none;
  color: var(--primary-dark);
  font-weight: 600;
  font-size: 15px;
  transition: var(--transition);
}

.nav a:hover {
  color: var(--secondary);
}

/* BOTONES HEADER */

.nav-phone {
  padding: 10px 18px;
  border: 2px solid var(--primary);
  border-radius: 50px;
  color: var(--primary);
}

.nav-phone:hover {
  background: var(--primary);
  color: white;
}

.nav-cta {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: white !important;
  padding: 12px 22px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(11, 61, 145, 0.15);
}

/* DROPDOWN */

.dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: 120%;
  left: 0;
  background: white;
  min-width: 220px;
  border-radius: 12px;
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  padding: 12px 0;
}

.dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
}

.dropdown-menu a {
  display: block;
  padding: 12px 20px;
  font-size: 14px;
}

.dropdown-menu a:hover {
  background: var(--light-blue);
}

/* =========================
   HERO
========================= */
.hero{
  background:linear-gradient(135deg,#1e6ee6,#6fb3ff);
  color:white;
  text-align:center;
  padding:90px 20px;
}

.hero h1{
  font-size:42px;
  margin-bottom:15px;
}

.hero p{
  font-size:20px;
  max-width:700px;
  margin:auto;
}

/* =========================
   MAIN / CARDS
========================= */
.container{
  max-width:1000px;
  margin:auto;
  padding:40px 15px;
}

.sectors-grid{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 10px;
}


.card{
  background:white;
  border-radius:16px;
  padding:15px;
  box-shadow:0 8px 25px rgba(0,0,0,0.08);
}

.sector-card{
  transition:0.3s ease;
}

.sector-card:hover{
  transform:translateY(-6px);
  box-shadow:0 12px 35px rgba(0,0,0,0.12);
}

.sector-card h2{
  margin-bottom:12px;
  color:#0b3d91;
  font-size:24px;
}

/* =========================
   FOOTER 
========================= */
.footer{
  background:#0b3d91;
  color:white;
  margin-top:80px;
}

.footer-claim{
  font-size:14px;
  opacity:0.9;
  margin-top:10px;
}

.footer-grid{
  max-width:1200px;
  margin:auto;
  padding:60px 20px;
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
  gap:35px;
}

.footer h3{
  margin-bottom:15px;
  font-size:20px;
}

.footer p,
.footer a{
  font-size:15px;
  color:white;
  text-decoration:none;
  opacity:0.95;
  margin-bottom:8px;
  display:block;
}

.footer-links a:hover,
.meta-navigation a:hover{
  opacity:1;
  text-decoration:underline;
}

.footer-badges{
  margin-top:18px;
  display:flex;
  flex-wrap:wrap;
  gap:10px;
}

.footer-badges span{
  background:rgba(255,255,255,0.12);
  padding:8px 12px;
  border-radius:20px;
  font-size:13px;
}

.footer-main{
  max-width:1200px;
  margin:auto;
  padding:25px 20px;
  display:flex;
  justify-content:space-between;
  align-items:center;
  flex-wrap:wrap;
  gap:20px;
  border-top:1px solid rgba(255,255,255,0.15);
}

.footer-meta{
  border-top:1px solid rgba(255,255,255,0.1);
  padding:18px 20px;
}

.meta-navigation{
  list-style:none;
  display:flex;
  flex-wrap:wrap;
  gap:18px;
  justify-content:center;
}

.meta-navigation a{
  font-size:14px;
}

.footer-copy{
  text-align:center;
  padding:20px;
  font-size:14px;
  opacity:0.8;
}
.flag-icon-inline{
  width: 16px;
  height: auto;
  margin-left: 6px;
  vertical-align: middle;
  border-radius: 2px;
}

/* =========================
   WHATSAPP
========================= */
.whatsapp{
  position:fixed;
  bottom:20px;
  right:20px;
  background:#25D366;
  color:white;
  text-decoration:none;
  padding:14px 18px;
  border-radius:40px;
  font-weight:bold;
  box-shadow:0 6px 20px rgba(0,0,0,0.2);
  z-index:999;
}

/* =========================
   RESPONSIVE
========================= */
@media(max-width:768px){

  .header-container{
    flex-direction:column;
    align-items:flex-start;
  }

  .nav{
    gap:15px;
  }

  .hero h1{
    font-size:32px;
  }

  .hero p{
    font-size:18px;
  }

  .footer-main{
    flex-direction:column;
    text-align:center;
  }
}